<template>
  <NodeContainer :title="data.typeName" :icon="data.icon" :has-more-options="false" v-bind="$attrs">
    <div class="node-content"/>
  </NodeContainer>

  <Handle type="source" :position="Position.Right" :max-connections="1" />
</template>

<script setup lang="ts" name="StartNode">
import { Handle, Position } from '@vue-flow/core'
import NodeContainer from '../node_container.vue'

const props = defineProps({
  id: {
    type: String,
    required: true,
  },
  type: {
    type: String,
    default: 'start',
  },
  data: {
    type: Object,
    required: true,
  },
})
</script>

<style scoped>
@import "@/assets/handle.css";

</style>
